package com.gjt.zyglxt.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import lombok.Data;
@Data
@Component
public class ConsumeDTO {


    private String cardNo;//根据卡号查询
    //根据时间区间查询
    //根据入会日期查询
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
  

    //分页
    private Integer page;
    private Integer limit;
}